//
//  BEBasePopoverView.h
//  s.
//
//  Created by pppsy on 2022/10/28.
//  Copyright © 2022 J. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void (^BEPopoverDismissBlock)(void);

@interface BEBasePopoverView : UIView <UIGestureRecognizerDelegate>
@property (nonatomic, assign) BOOL autoHideWhenTapBg; //default is YES

@property (nonatomic,copy)BEPopoverDismissBlock dismissBlk;

+ (instancetype)createPopoverView;

- (void)showInView:(UIView*)view;
- (void)hide;

@end

NS_ASSUME_NONNULL_END
